package com.banggood.upms.bean.vo.search;

import com.banggood.upms.bean.vo.validation.SearchGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author XuChuangFeng
 */
@Data
@ApiModel(value = "树对应权限搜索条件", description = "负责接收封装调用者传入的参数")
public class TreePermissionSearchCriteria extends BaseSearchCriteria{

    @ApiModelProperty(value = "树的主键ID")
    @NotNull(message = "{validation.TreePermissionSearchCriteria.treeId.NotNull}", groups = {SearchGroup.class})
    private String treeId;

    @ApiModelProperty(value = "系统主键ID")
    private String systemId;

    private List<String> treeIds;
}
